package com.stylefeng.guns.modular.pay.warpper;

import java.util.Map;

import com.stylefeng.guns.core.base.warpper.BaseControllerWarpper;
import com.stylefeng.guns.core.common.constant.factory.ConstantFactory;

public class TransWarpper extends BaseControllerWarpper  {

	public TransWarpper(Object list) {
		super(list);
	}

	@Override
	protected void warpTheMap(Map<String, Object> map) {
		 Integer status = (Integer) map.get("status");
		 if(status!=null){
			 map.put("statusName", ConstantFactory.me().getTransStatusName(status));
		 }
	}
	
	

}
